<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
get<br>
<!-- console 关闭以前启动所有程序
application.properties server.port=1314
找到main() run as java applicaiton
console必须显示tomcat started on ports 8080
http://localhost:8080/index.html
浏览器地址栏会显示输入的username,password
 -->
<form action="/reg2" method="get">
	<input name="username">
	<input name="password">
	<input type="submit" value="register">
</form>
post
<form action="/reg2" method="post">
	<input name="username">
	<input name="password">
	<input type="submit" value="register">
</form>

</body>
</html>